package cn.dianhun.security.repository;

import cn.dianhun.security.pojo.TUserEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author cyt
 * @create 2020-07-17 15:39
 */
@Repository
public interface UserRepository extends JpaRepository<TUserEntity, Long> {
    /**
     *  安装名称查找
     * @param username
     * @return
     */
    TUserEntity findByUsername(String username);
}
